module ApplicationHelper
  def marker_to_class(marker)
    case marker
    when 'valid' then 'success'
    when 'invalid' then 'warning'
    when 'pending' then 'info'
    when 'suspect' then 'danger'
    end
  end
end
